package com.mdd.common.enums;

public enum OrderRefundEnum {

    REFUND_STATUS_ING(0, "退款中"),

    REFUND_STATUS_SUCCESS(1, "退款成功"),

    REFUND_STATUS_FAIL(2, "退款失败"),


    TYPE_SYSTEM(1, "系统"),

    TYPE_ADMIN(2, "后台"),

    TYPE_USER(3, "用户");


    private final int code;
    private final String msg;

    OrderRefundEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    /**
     * 获取状态码
     *
     * @author fzr
     * @return Long
     */
    public int getCode() {
        return this.code;
    }

    /**
     * 获取提示
     *
     * @author fzr
     * @return String
     */
    public String getMsg() {
        return this.msg;
    }

}
